#coding:utf8
#
# Author: CMGS
# Created on 2010-8-23
#

DEBUG = True

CLIENT_PUSHED = 'f'
CLIENT_READED = 'r'
CLIENT_HANDLE_NAME = 'client'
SESSION_COOKIE_NAME = 'mlgb'
USER_COOKIE_NAME = 'uname'
USER_TIME_NAME = 'lastAccessTime'
MEM_MODIFIES_NAME = 'modifies'
MEM_CRON_NAME = 'cron'
MEM_AUTOINC_NAME = 'count'
MEM_SAVE_NAME = 'save'
MODIFY_NO_NAME = 'number'
MODIFY_VECTOR_NAME = 'stateVec'

# second
AUTO_REFRESH_TIME = 50000
# socket time out
SOCKET_TIMEOUT = 10000
# pool size
MEMORY_POOL_SIZE = 100000
# api server url
API_SERVER_URL = 'http://api-filesys.wps.cn/xsvr/'
#API_SERVER_URL = 'http://10.20.134.54/xsvr/'
# api server v
V = 3
# server self
THIS_SERVER = 'http://127.0.0.1:8080/'
# unsid key
UNSID_KEY = [
    MEM_MODIFIES_NAME,
    MEM_CRON_NAME,
    MEM_AUTOINC_NAME,
    MEM_SAVE_NAME,
]
